#ifndef RECTBOXITEM_H
#define RECTBOXITEM_H

#include <QWidget>

namespace Ui {
class RectBoxItem;
}

class RectBoxItem : public QWidget
{
    Q_OBJECT

public:
    explicit RectBoxItem(QWidget *parent = nullptr);
    ~RectBoxItem();

    void setRecText(const QString& text);
    void setRecImage(const QString& imagePath);
protected:
     bool eventFilter(QObject *watched, QEvent *event);


private:
    Ui::RectBoxItem *ui;
};

#endif // RECTBOXITEM_H
